package com.suny.sf_server.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.suny.AccountInfo.vo.AccountInfoVO;
import org.apache.ibatis.annotations.Mapper;
import com.suny.AccountInfo.domain.AccountInfo;
import com.suny.AccountInfo.dto.AccountQueryDTO;
import org.apache.ibatis.annotations.Param;


/**
* @author sun
* @description 针对表【account_info(人员管理表)】的数据库操作Mapper
* @createDate 2024-12-26 13:58:42
* @Entity generator.domain.AccountInfo
*/
@Mapper
public interface AccountInfoMapper extends BaseMapper<AccountInfo> {
    /**
     * 分页查询人员列表
     */
    IPage<AccountInfoVO> selectAccountVOPage(IPage<AccountInfo> page);

    /**
     * 条件查询人员列表
     */
    IPage<AccountInfoVO> selectAccountVOPageByCondition(
        @Param("page") IPage<AccountInfo> page,
        @Param("query") AccountQueryDTO query
    );
}




